{config_load file="index.conf"}<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
    <card title="My friends">
        {include file="inc/global_menu.tpl"}

		{include file="profile/inc/data.tpl"}<br />
		
		<b>My friends</b><br />
		
		{if sizeof($friends)}
		    {foreach from=$friends item=item}
		        <a href="/another/index/{$item.user_id}/">{$item.user_login}</a>
		        {if time() - $item.user_last_visit > #online#}
		            (offline)
		        {else}
		            (online)
		        {/if}<br />
		    {/foreach}<br />
		    {include file="inc/paging.tpl"}
		{else}
		    <p>Empy</p>
		{/if}<br />
		
		{include file="profile/inc/return.tpl"}
    </card>
</wml>